<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站: http://dolphinphp.com
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------

/**
 * 菜单信息
 */
return [
  [
    'title' => '客户',
    'icon' => 'fa fa-fw fa-users',
    'url_type' => 'module_admin',
    'url_value' => 'customer/customers/index',
    'url_target' => '_self',
    'online_hide' => 0,
    'sort' => 6,
    'status' => 1,
    'child' => [
      [
        'title' => '客户资料管理',
        'icon' => 'fa fa-fw fa-database',
        'url_type' => 'module_admin',
        'url_value' => '',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 1,
        'status' => 1,
        'child' => [
          [
            'title' => '客户列表',
            'icon' => 'fa fa-fw fa-list',
            'url_type' => 'module_admin',
            'url_value' => 'customer/customers/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 1,
            'status' => 1,
            'child' => [
              [
                'title' => '客户资料编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/customers/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '移交客户',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/customers/turncustomer',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
              [
                'title' => '添加客户贷款信息',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/loan/addloanitem',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
                'status' => 1,
              ],
              [
                'title' => '查看客户资料',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/customers/showinfo',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
                'status' => 1,
              ],
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/customers/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '客户资料导入',
            'icon' => 'glyphicon glyphicon-import',
            'url_type' => 'module_admin',
            'url_value' => 'customer/import/importcustomer',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 2,
            'status' => 1,
          ],
          [
            'title' => '手动添加客户',
            'icon' => 'glyphicon glyphicon-new-window',
            'url_type' => 'module_admin',
            'url_value' => 'customer/import/add',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 3,
            'status' => 1,
          ],
          [
            'title' => '创建测试用户资料',
            'icon' => 'fa fa-fw fa-remove',
            'url_type' => 'module_admin',
            'url_value' => 'customer/customers/createcustomers',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 4,
            'status' => 1,
          ],
        ],
      ],
      [
        'title' => '客户贷款管理',
        'icon' => 'glyphicon glyphicon-tasks',
        'url_type' => 'module_admin',
        'url_value' => '',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 2,
        'status' => 1,
        'child' => [
          [
            'title' => '客户贷款列表',
            'icon' => 'fa fa-fw fa-align-justify',
            'url_type' => 'module_admin',
            'url_value' => 'customer/loan/loanlist',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 1,
            'status' => 1,
            'child' => [
              [
                'title' => '修改贷款状态为还款',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/customers/returnloan',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/loan/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '贷款提醒时间表',
            'icon' => 'fa fa-fw fa-align-right',
            'url_type' => 'module_admin',
            'url_value' => 'customer/loan/loantime',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 2,
            'status' => 1,
            'child' => [
              [
                'title' => '添加贷款提醒时间',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/loan/addloantime',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '删除贷款提醒时间',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/loan/delete',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
                'status' => 1,
              ],
            ],
          ],
          [
            'title' => '贷款类型表',
            'icon' => 'fa fa-fw fa-align-left',
            'url_type' => 'module_admin',
            'url_value' => 'customer/loan_type/_list',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 3,
            'status' => 1,
            'child' => [
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/loan_type/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '添加',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/loan_type/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
            ],
          ],
        ],
      ],
      [
        'title' => '客户存款管理',
        'icon' => 'fa fa-fw fa-star',
        'url_type' => 'module_admin',
        'url_value' => '',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 3,
        'status' => 1,
        'child' => [
          [
            'title' => '客户存款列表',
            'icon' => 'fa fa-fw fa-align-justify',
            'url_type' => 'module_admin',
            'url_value' => 'customer/deposit/_list',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 1,
            'status' => 1,
            'child' => [
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/deposit/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '添加存款',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/deposit/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
                'status' => 1,
              ],
            ],
          ],
        ],
      ],
      [
        'title' => '客户分组管理',
        'icon' => 'fa fa-fw fa-level-down',
        'url_type' => 'module_admin',
        'url_value' => '',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 4,
        'status' => 1,
        'child' => [
          [
            'title' => '客户分组列表',
            'icon' => 'fa fa-fw fa-align-justify',
            'url_type' => 'module_admin',
            'url_value' => 'customer/level/levellist',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 1,
            'status' => 1,
            'child' => [
              [
                'title' => '添加客户分组',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/level/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
                'status' => 1,
              ],
              [
                'title' => '快速编辑',
                'icon' => '',
                'url_type' => 'module_admin',
                'url_value' => 'customer/level/quickedit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
                'status' => 1,
              ],
            ],
          ],
        ],
      ],
    ],
  ],
];
